package org.springframework.messaging;

import org.springframework.lang.Nullable;

public interface PollableChannel extends MessageChannel {

	@Nullable
	Message<?> receive();

	@Nullable
	Message<?> receive(long timeout);

}
